package com.lysh.simple;

import java.util.HashMap;
import java.util.Map;

/**
 * @author liyishan
 * @date 2023/9/21 16:10
 * @apiNote
 */

public class SingleDistribute {

    private static final String aesKey = "7CWx7IKEwHoWQ//T4Yh7KQ==";

    private static final String privateKey = "MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAI8W4iLzoi8xXrePwYpYJDROOXDNRwYjp3gRWv8NYlWsgmHxX9kL9WnthD9hn3SFY3UXJVIg0cQJPEGgkCMDAMC7sa0dlVEvRWcAxfMSu/0v4nAIrxggyXPagB89ByDZn9VwUyNWUUPVzX6NL3BbHhy1FAFSc7nkSrB9zX7j+v27AgMBAAECgYEAiwPpaZmXrQ/i/KV+m+CsM+D3r17QLOfA0UbTSE4BhkjWVz+BJkaXBHXMcSNwHm1lRiHZkWPvR+zNDNloj4tgU2tLGMuP/Zn3TQUepz0TuhWupv4kql1tBnsoqR4Z6iTGWQrVJjACtVeUzsuKBobYtzw3kv3zGYF3dS9kW/WbJ3ECQQDDtrZZNzpeDRwaXx02BOLAC4CZU7AjCY/dKpwMHbBVLSlo17xUFlGYx0la0G0nYEAVuDk2TYAvK7Zm+pUWoPAjAkEAuypnSGc0DT2m9aY+ceLfImcOtmx63i1+kD6jRNeaVF3m5i2WFglXgoNLFoEuDQeYtauDxL9mJUs1rhp2tOXJiQJAK5XOKDIvcnCS+KCD/dq6sLAfFIZZrIPdoRBzLhOSiHWFSk75JvTNeSuwf2P5WxKJUwzy2NALovWmKmrVtvNiZwJBAIdiA7V2mUsell9H8hFU5swuuZCw5StCwzK5bEYGomZ2Seejf9XOyhLov2624EWigg6e0sCFJfDB90FJeSYetOkCQQCzP2ikjSvH1gGL+10YobQsxAaIgHME/UDPJMGQlcK44ga1LkqXn9g0cGhkXpOpxtVEJzOmhRlhs5dHZtluGQpx";

    private static final String COOPERATOR_ID = "C1012771287417757696";
    private static final String GATEWAY_URL = "http://boapi.hvyogo.com";

    public static void main(String[] args) {
        Map<String, Object> params = initParams();
        params.put("workerName","李怡珊");
        params.put("receiptChannel",10);
        params.put("workerAccount","4367420014800247076");
        params.put("workerType",1);
        params.put("idNumber","2301081986081410191");
        params.put("workerMobile","18838427407");
        params.put("distributeAmount","5000");
        params.put("requestNo","11111112222223333333");
        params.put("idNumber","2301081986081410191");
        params.put("idNumber","2301081986081410191");




    }

    /**
     * 初始化参数
     *
     * @return params
     */
    private static Map<String, Object> initParams() {
        Map<String, Object> params = new HashMap<>(8);
        params.put("cooperatorId", COOPERATOR_ID);
        params.put("timestamp", String.valueOf(System.currentTimeMillis()));
        return params;
    }
}
